package com.song.shopping.domain;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import java.io.Serializable;
import java.util.Date;
import lombok.Data;

/**
 * 
 * @TableName book_log
 */
@TableName(value ="book_log")
@Data
public class Log implements Serializable {
    /**
     * 日志id
     */
    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    /**
     * 日志内容
     */
    @TableField(value = "logInfo")
    private String loginfo;

    /**
     * 创建时间
     */
    @TableField(value = "createTime")
    private Date createtime;

    /**
     * 操作的用户编号
     */
    @TableField(value = "userId")
    private Integer userid;

    @TableField(exist = false)
    private static final long serialVersionUID = 1L;
}